package com.backend.server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.server.entity.license.vo.LicenseInfoVO;
import com.common.server.entity.project.ProjectInfo;
import com.common.server.entity.project.dto.ProjectInfoAddRequest;
import com.common.server.entity.project.dto.ProjectInfoQueryRequest;
import com.common.server.entity.project.vo.ProjectInfoVO;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【project_info(项目信息)】的数据库操作Service
 * @createDate 2024-12-25 11:26:25
 */
public interface ProjectInfoService extends IService<ProjectInfo> {
    /**
     * 新增项目
     *
     * @param projectInfoAddRequest
     * @return
     */
    public Long addProject(ProjectInfoAddRequest projectInfoAddRequest);

    /**
     * 获取项目信息分页
     *
     * @param request
     * @return
     */
    public Page<ProjectInfoVO> getProjectInfoPage(ProjectInfoQueryRequest request);

    /**
     * 获取脱敏的项目信息
     *
     * @param projectInfo
     * @return
     */
    ProjectInfoVO getProjectInfoVO(ProjectInfo projectInfo);

    /**
     * 获取脱敏的项目信息
     *
     * @param projectInfoList
     * @return
     */
    List<ProjectInfoVO> getProjectInfoVO(List<ProjectInfo> projectInfoList);

}
